<template>
  <div class="home">
    <img alt="Vue logo" src="../assets/logo.png">
   <h1> 我是home 组件</h1>

   <hr>
   <h2>{{$store.state.count}}</h2>

   <hr>

   <h2>{{$store.getters.sumArr}}</h2>

   <hr>

   <h2>  数组过滤后的值:{{$store.getters.filterArr}}</h2>

   
<button @click='mSetToken'>点击设置token</button>
  </div>
</template>

<script>
// @ is an alias to /src


export default {
  name: 'Home',
  components: {
   
  },
   methods:{
    mSetToken() {
  
   
   

    }
  }
  
}
</script>
